package org.jeecg.modules.demo.stock.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 股票分交易记录
 * @Author: jeecg-boot
 * @Date:   2022-02-15
 * @Version: V1.0
 */
@Data
@TableName("tb_stock_minute")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="tb_stock_minute对象", description="股票分交易记录")
public class TbStockMinute implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**股票代码*/
	@Excel(name = "股票代码", width = 15, dictTable = "tb_stock_code", dicText = "name", dicCode = "id")
	@Dict(dictTable = "tb_stock_code", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "股票代码")
    private java.lang.String code;
	/**历史id*/
	@Excel(name = "历史id", width = 15, dictTable = "tb_stock_k", dicText = "id", dicCode = "id")
	@Dict(dictTable = "tb_stock_k", dicText = "id", dicCode = "id")
    @ApiModelProperty(value = "历史id")
    private java.lang.String timeId;
	/**时间*/
	@Excel(name = "时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "时间")
    private java.util.Date dayTime;
	/**上次值*/
	@Excel(name = "上次值", width = 15)
    @ApiModelProperty(value = "上次值")
    private Double last;
	/**值1*/
	@Excel(name = "值1", width = 15)
    @ApiModelProperty(value = "值1")
    private Double value1;
	/**值2*/
	@Excel(name = "值2", width = 15)
    @ApiModelProperty(value = "值2")
    private Double value2;
	/**值3*/
	@Excel(name = "值3", width = 15)
    @ApiModelProperty(value = "值3")
    private Double value3;
	/**成交量*/
	@Excel(name = "成交量", width = 15)
    @ApiModelProperty(value = "成交量")
    private Double turnover;
	/**字段一*/
	@Excel(name = "字段一", width = 15)
    @ApiModelProperty(value = "字段一")
    private Double type;
	/**平均值*/
	@Excel(name = "平均值", width = 15)
    @ApiModelProperty(value = "平均值")
    private Double mean;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
}
